package com.second.app.thread.synchroized.C;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class ThreadA extends Thread {
    private HasSelfPrivateNum selfPrivateNum;

    public ThreadA(HasSelfPrivateNum selfPrivateNum) {
        this.selfPrivateNum = selfPrivateNum;
    }

    @Override
    public void run() {
        selfPrivateNum.addI("a");
    }
}
